public class Director implements Manager {

    private static final int ALLOWED_INCREASE = 1000;

    @Override
    public void increaseSalary(int increase) {
        if (increase <= ALLOWED_INCREASE) {
            System.out.println("Salary was increased by Director.\n");
        } else {
            System.out.println("Salary wasn't increased. You are too greedy!");
        }
    }
}
